package com.sakura.probe.service;


import com.sakura.probe.common.api.CommonResult;
import com.sakura.probe.pojo.PersonInfo;
import com.sakura.probe.pojo.Topic;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * oss上传管理Service
 *
 */
public interface OssService {

    CommonResult addHeadImage(PersonInfo person, String oldUrl, MultipartFile file);

    CommonResult batchAddImage(Long topicId, String waterMark, List<MultipartFile> fileList);

    CommonResult addVideo(Topic topic, List<MultipartFile> fileList);

    void deleteImage(String url);
}
